import { NgModule } from '@angular/core';
import { RouterModule , Routes} from '@angular/router';
import { DutyOverviewComponent } from './duty-overview/duty-overview.component';
import { DutyCurrentComponent } from './duty-current/duty-current.component';
import { SchedulingOverviewComponent } from './scheduling-overview/scheduling-overview.component';
import { ShiftOverviewComponent } from './shift-overview/shift-overview.component';
import { ShiftSettingComponent } from './shift-setting/shift-setting.component';
import { HandoverOverviewComponent } from './handover-overview/handover-overview.component';
import { MyShiftComponent } from './my-shift/my-shift.component';

const route: Routes = [
    {path: 'dutyoverview', component: DutyOverviewComponent},
    {path: 'dutycurrent', component: DutyCurrentComponent},
    {path: 'scheduleoverview', component: SchedulingOverviewComponent},
    {path: 'shiftoverview', component: ShiftOverviewComponent},
    {path: 'shiftsetting', component: ShiftSettingComponent},
    {path: 'handoverview', component: HandoverOverviewComponent},
    {path: 'myshift', component: MyShiftComponent}
];
@NgModule({
    imports: [RouterModule.forChild(route)],
    exports: [RouterModule],
})

export class DutyRoutingModule {

}
